SMAHA03400_사업장등록[공단건진].xrw 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 사업장상세관리
  4. * 설 명 : 사업장상세관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>사업장상세관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <ahbmgcpyinfo>
  20. <item>
  21. <cmpyid/>
  22. <cmpynm/>
  23. <appyear/>
  24. </item>
  25. </ahbmgcpyinfo>
  26. <cmpysinfo>
  27. <item>
  28. <cmpyid/>
  29. <cmpynm/>
  30. <appyear/>
  31. <officezipcd1/>
  32. <officezipcd2/>
  33. <officezipcdseq/>
  34. <officeaddr1/>
  35. <officeaddr2/>
  36. <healexamgubun/>
  37. <orddeptcd/>
  38. <orddrid/>
  39. <insutrgtflag/>
  40. <insuflag/>
  41. <insucorpbrchcd/>
  42. <civilaplflag/>
  43. <remcnts/>
  44. <prsdnm/>
  45. <telno/>
  46. <detladdr/>
  47. <biztype/>
  48. <cmpyno/>
  49. <cmpystat/>
  50. <insucd/>
  51. <workoffice/>
  52. <balzipcd1/>
  53. <balzipcd2/>
  54. <baladdr1/>
  55. <baladdr2/>
  56. <officeno/>
  57. <fax/>
  58. <email/>
  59. <prsnchrg/>
  60. <changedate/>
  61. <cmpyseq/>
  62. <cmpysign/>
  63. <healthdr/>
  64. <handphon/>
  65. <uptai/>
  66. <jongmog/>
  67. <noise/>
  68. <dust/>
  69. <heavymetal/>
  70. <hrmfllight/>
  71. <ugyj/>
  72. <spcchmst/>
  73. <medical1/>
  74. <medical2/>
  75. <medical3/>
  76. <medical4/>
  77. <medical5/>
  78. <medical6/>
  79. <medical7/>
  80. <jtarget/>
  81. <chtarget/>
  82. <cmpy/>
  83. <person/>
  84. <amount/>
  85. <officertrgtmancnt/>
  86. <officertrgtwomcnt/>
  87. <prdtmancnt/>
  88. <prdtwomcnt/>
  89. <dsptmancnt/>
  90. <dsptwomcnt/>
  91. <dlmancnt/>
  92. <dlwoncnt/>
  93. <totlabrmancnt/>
  94. <totlabrwomcnt/>
  95. <cancer1/>
  96. <cancer2/>
  97. <cancer3/>
  98. <cancer4/>
  99. <cancer5/>
  100. <insunm/>
  101. <workofficenm/>
  102. <biztypenm/>
  103. <totalofficertrgtcnt/>
  104. <totalprdtcnt/>
  105. <totaldsptcnt/>
  106. <totaldlcnt/>
  107. <totlabrcnt/>
  108. <prdtcode/>
  109. <prdtnm/>
  110. <healexamgubun/>
  111. <orddeptcd/>
  112. <orddrid/>
  113. <insutrgtflag/>
  114. <insuflag/>
  115. </item>
  116. <examlst1>
  117. <item>
  118. <testcd/>
  119. <testnm/>
  120. <testcd/>
  121. <cmpyid/>
  122. <appyear/>
  123. <examtype/>
  124. <pkgflag/>
  125. </item>
  126. </examlst1>
  127. <examlst2>
  128. <item>
  129. <testcd/>
  130. <testnm/>
  131. <cmpyid/>
  132. <appyear/>
  133. <examtype/>
  134. <pkgflag/>
  135. </item>
  136. </examlst2>
  137. <examlst3>
  138. <item>
  139. <testcd/>
  140. <testnm/>
  141. <cmpyid/>
  142. <appyear/>
  143. <examtype/>
  144. <pkgflag/>
  145. </item>
  146. </examlst3>
  147. <itemdetail>
  148. <prdtcode/>
  149. <prdtnm/>
  150. </itemdetail>
  151. </cmpysinfo>
  152. </main>
  153. <send>
  154. <save>
  155. <instcd/>
  156. <appyear/>
  157. <cmpyid/>
  158. <prddate/>
  159. <prdtcode/>
  160. <prdtnm/>
  161. </save>
  162. <srchcond/>
  163. <select>
  164. <srchcmpyid/>
  165. <srchappyear/>
  166. </select>
  167. <srch>
  168. <srchcmpynm/>
  169. <srchcmpyid/>
  170. <srchappyear/>
  171. <srchinstcd/>
  172. <srchcmpystat/>
  173. </srch>
  174. <orddridinfo>
  175. <clscd/>
  176. <etccd/>
  177. <etcitemcnts/>
  178. </orddridinfo>
  179. </send>
  180. <init>
  181. <baseinfo>
  182. <healexamgubun/>
  183. <orddeptcdlst/>
  184. <orddridlst/>
  185. <drlst>
  186. <itemdr/>
  187. </drlst>
  188. <healexamdetlflag/>
  189. <year>
  190. <item/>
  191. </year>
  192. <insutrgtflag/>
  193. <insuflag/>
  194. <yearlist/>
  195. <S920list/>
  196. </baseinfo>
  197. </init>
  198. <hidden>
  199. </hidden>
  200. <temp>
  201. <prod>
  202. <item/>
  203. </prod>
  204. <cmpysprod/>
  205. <cmpyid/>
  206. <templst>
  207. <list/>
  208. </templst>
  209. </temp>
  210. </root>
  211. </instance>
  212. <submission id="TRAHA00001"/>
  213. <submission id="TRZBC00101"/>
  214. <submission id="TRAHB00606"/>
  215. <submission id="TRAHA04047" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddridinfo" replace="instance" resultref="/root/init/baseinfo/orddridlst"/>
  216. <submission id="TRAHA03400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/ahbmgcpyinfo"/>
  217. <submission id="TRAHA03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/select" resultref="/root/main/cmpysinfo"/>
  218. <submission id="TXAHB03400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
  219. <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/baseinfo/drlst"/>
  220. <submission id="TRAHA03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cmpysinfo/item/cmpyid" resultref="/root/temp/cmpyid"/>
  221. <bind id="totalofficertrgtcnt" ref="/root/main/cmpysinfo/item/totalofficertrgtcnt" calculate="/root/main/cmpysinfo/item/officertrgtmancnt + &#xA;/root/main/cmpysinfo/item/officertrgtwomcnt"/>
  222. <bind id="totalprdtcnt" ref="/root/main/cmpysinfo/item/totalprdtcnt" calculate="/root/main/cmpysinfo/item/prdtmancnt + &#xA;/root/main/cmpysinfo/item/prdtwomcnt"/>
  223. <bind id="totaldsptcnt" ref="/root/main/cmpysinfo/item/totaldsptcnt" calculate="/root/main/cmpysinfo/item/dsptmancnt + &#xA;/root/main/cmpysinfo/item/dsptwomcnt"/>
  224. <bind id="totaldlcnt" ref="/root/main/cmpysinfo/item/totaldlcnt" calculate="/root/main/cmpysinfo/item/dlmancnt +&#xA; /root/main/cmpysinfo/item/dlwoncnt"/>
  225. <bind id="totlabrmancnt" ref="/root/main/cmpysinfo/item/totlabrmancnt" calculate="/root/main/cmpysinfo/item/officertrgtmancnt + &#xA;/root/main/cmpysinfo/item/prdtmancnt + &#xA;/root/main/cmpysinfo/item/dsptmancnt + &#xA;/root/main/cmpysinfo/item/dlmancnt"/>
  226. <bind id="totlabrwomcnt" ref="/root/main/cmpysinfo/item/totlabrwomcnt" calculate="/root/main/cmpysinfo/item/officertrgtwomcnt + &#xA;/root/main/cmpysinfo/item/prdtwomcnt + &#xA;/root/main/cmpysinfo/item/dsptwomcnt + &#xA;/root/main/cmpysinfo/item/dlwoncnt"/>
  227. <bind id="totlabrcnt" ref="/root/main/cmpysinfo/item/totlabrcnt" calculate="/root/main/cmpysinfo/item/totlabrmancnt + &#xA;/root/main/cmpysinfo/item/totlabrwomcnt"/>
  228. </model>
  229. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  230. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  231. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  232. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  233. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  234. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  235. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  236. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  237. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  238. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
  239. <script type="javascript" ev:event="xforms-ready">
  240. <![CDATA[
  241. var sFlag = getScreenMenuParameter();
  242. if(sFlag == ""){
  243. m_vHealexamflag = "G";
  244. m_vHealexamdetlflag = "G01"
  245. }else{
  246. m_vHealexamflag = sFlag.substr(0, 1);
  247. m_vHealexamdetlflag = sFlag.substr(0, 3);
  248. }
  249. fGetBaseInfo(); //기본/공통코드 정보를 조회
  250. fInit();
  251. fInitSrch();
  252. // 2015/01/09 이정택 주석처리
  253. //fGetYear();
  254. // 2015/01/09 이정택 주석처리
  255. fGetCmpysList();
  256. fGetComboList();
  257. //컨트롤초기화
  258. btn_newsave.disabled = false;
  259. btn_save.disabled = true;
  260. btn_clear.disabled = false;
  261. btn_del.disabled = true;
  262. ]]>
  263. </script>
  264. <script type="javascript">
  265. <![CDATA[
  266. var vHealexamFlag = "";
  267. var vHealexamdetlFlag = "";
  268. /*
  269. * 기본코드 정보를 조회
  270. */
  271. function fGetBaseInfo(){
  272. zbcfGetCodeList(new Array("A0088", "A0108", "A0109")
  273. , new Array("/root/init/baseinfo/healexamgubun" //건진분류
  274. , "/root/init/baseinfo/insutrgtflag" //직역구분
  275. , "/root/init/baseinfo/insuflag" //가입구분
  276. ));
  277. /*
  278. * 공통코드 조회
  279. * 진료과 (G, G26)
  280. */
  281. healGetComboList("G", new Array("G26"), new Array("/root/init/baseinfo/orddeptcdlst"), false);
  282. // 2015/01/09 년도를 기준자료료 관리 하도록 프로그램 수정(S900)
  283. healGetCodeList( new Array("S900", "S920"), new Array("/root/init/baseinfo/yearlist", "/root/init/baseinfo/S920list"));
  284. }
  285. /********************************************************************************************************************************************************************
  286. * 화면을 초기화
  287. *********************************************************************************************************************************************************************/
  288. function fInit(){
  289. model.resetInstanceNode("/root/main/ahbmgcpyinfo/item");
  290. model.resetInstanceNode("/root/main/cmpysinfo/item");
  291. model.removeNodeset("/root/main/cmpysinfo/examlst1/item");
  292. model.removeNodeset("/root/main/cmpysinfo/examlst2/item");
  293. model.removeNodeset("/root/main/cmpysinfo/examlst3/item");
  294. model.removeNodeset("/root/main/cmpysinfo/itemdetail");
  295. var cur_year = getNewDate().getFullYear();
  296. model.setValue(ipt_appyear.attribute("ref") , cur_year);
  297. model.setValue("/root/send/srch/srchcmpystat" , "Y");
  298. model.setValue("/root/main/cmpysinfo/item/cmpystat" , "Y");
  299. model.setValue("/root/main/cmpysinfo/item/noise" , "N");
  300. model.setValue("/root/main/cmpysinfo/item/dust" , "N");
  301. model.setValue("/root/main/cmpysinfo/item/heavymetal" , "N");
  302. model.setValue("/root/main/cmpysinfo/item/hrmfllight" , "N");
  303. model.setValue("/root/main/cmpysinfo/item/ugyj" , "N");
  304. model.setValue("/root/main/cmpysinfo/item/spcchmst" , "N");
  305. model.setValue("/root/main/cmpysinfo/item/medical1" , "N");
  306. model.setValue("/root/main/cmpysinfo/item/medical2" , "N");
  307. model.setValue("/root/main/cmpysinfo/item/medical3" , "N");
  308. model.setValue("/root/main/cmpysinfo/item/medical4" , "N");
  309. model.setValue("/root/main/cmpysinfo/item/medical5" , "N");
  310. model.setValue("/root/main/cmpysinfo/item/medical6" , "N");
  311. model.setValue("/root/main/cmpysinfo/item/medical7" , "N");
  312. model.setValue("/root/main/cmpysinfo/item/jtarget" , "N");
  313. model.setValue("/root/main/cmpysinfo/item/chtarget" , "N");
  314. model.setValue("/root/main/cmpysinfo/item/cmpy" , "Y");
  315. model.setValue("/root/main/cmpysinfo/item/amount" , "0");
  316. model.setValue("/root/main/cmpysinfo/item/insucorpbrchcd" , "-");
  317. model.setValue("/root/main/cmpysinfo/item/civilaplflag" , "N");
  318. model.setValue("/root/main/cmpysinfo/item/officertrgtmancnt" , "0");
  319. model.setValue("/root/main/cmpysinfo/item/officertrgtwomcnt" , "0");
  320. model.setValue("/root/main/cmpysinfo/item/prdtmancnt" , "0");
  321. model.setValue("/root/main/cmpysinfo/item/prdtwomcnt" , "0");
  322. model.setValue("/root/main/cmpysinfo/item/dsptmancnt" , "0");
  323. model.setValue("/root/main/cmpysinfo/item/dsptwomcnt" , "0");
  324. model.setValue("/root/main/cmpysinfo/item/dlmancnt" , "0");
  325. model.setValue("/root/main/cmpysinfo/item/dlwoncnt" , "0");
  326. model.refresh();
  327. }
  328. /********************************************************************************************************************************************************************
  329. * 조회화면 초기화
  330. *********************************************************************************************************************************************************************/
  331. function fInitSrch(){
  332. var cur_year = getNewDate().getFullYear();
  333. model.setValue(cmb_srchappyear.attribute("ref"), cur_year);
  334. }
  335. /********************************************************************************************************************************************************************
  336. * 조회할 년도를 가져온다
  337. *********************************************************************************************************************************************************************/
  338. function fGetYear(){
  339. var date = parseInt(getNewDate().getFullYear());
  340. addComboItem("cmb_srchappyear", date, date, "above");
  341. for(var i = 1; i < 5; i++){
  342. addComboItem("cmb_srchappyear", date + (i*-1), date + (i*-1), "above");
  343. addComboItem("cmb_srchappyear", date + i, date + i, "below");
  344. }
  345. }
  346. /********************************************************************************************************************************************************************
  347. * 조회
  348. *********************************************************************************************************************************************************************/
  349. function fGetCmpysList(){
  350. submit("TRAHA03400");
  351. model.refresh();
  352. btn_newsave.disabled = false;
  353. btn_save.disabled = true;
  354. btn_clear.disabled = false;
  355. btn_del.disabled = true;
  356. }
  357. function fGetComboList(){
  358. model.makeNode("/root/send/srchcond");
  359. model.setValue("/root/send/srchcond" , "J");
  360. model.makeValue("/root/send/srchhealexamflag" , m_vHealexamflag);
  361. model.makeValue("/root/send/srchhealexamdetlflag" , m_vHealexamdetlflag + "09");
  362. submit("TRAHB01504");
  363. }
  364. /********************************************************************************************************************************************************************
  365. * 선택한 그리드행을 조회
  366. *********************************************************************************************************************************************************************/
  367. function fGetExmpInfo(){
  368. var idx = grd_ahbmgcpy.row;
  369. if(idx < 1) return;
  370. model.setValue("/root/send/srch/srchinstcd" , getUserInfo("dutplceinstcd"));
  371. model.setValue("/root/send/select/srchappyear" , model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/appyear"));
  372. model.setValue("/root/send/select/srchcmpyid" , model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/cmpyid"));
  373. submit("TRAHA03401");
  374. //선택된 진료과의 진료의사 정보 가져오기
  375. if(model.getValue("/root/main/cmpysinfo/item/orddeptcd") != ""){
  376. model.removeNodeset("/root/init/baseinfo/orddridlst");
  377. model.setValue("/root/send/orddridinfo/clscd", "G");
  378. model.setValue("/root/send/orddridinfo/etccd", "G27");
  379. model.setValue("/root/send/orddridinfo/etcitemcnts", model.getValue("/root/main/cmpysinfo/item/orddeptcd"));
  380. if(submit("TRAHA04047")){
  381. combo3.disabled = false;
  382. }
  383. }else{
  384. model.setValue("/root/main/cmpysinfo/item/orddrid", "");
  385. combo3.disabled = true;
  386. }
  387. var vofficeman = eval(model.getValue("/root/main/cmpysinfo/item/officertrgtmancnt"));
  388. var vofficewom = eval(model.getValue("/root/main/cmpysinfo/item/officertrgtwomcnt"));
  389. var vprdtman = eval(model.getValue("/root/main/cmpysinfo/item/prdtmancnt"));
  390. var vprdtwom = eval(model.getValue("/root/main/cmpysinfo/item/prdtwomcnt"));
  391. var vdsptman = eval(model.getValue("/root/main/cmpysinfo/item/dsptmancnt"));
  392. var vdsptwom = eval(model.getValue("/root/main/cmpysinfo/item/dsptwomcnt"));
  393. var vdlman = eval(model.getValue("/root/main/cmpysinfo/item/dlmancnt"));
  394. var vdlwon = eval(model.getValue("/root/main/cmpysinfo/item/dlwoncnt"));
  395. var vtotlabrman = eval(model.getValue("/root/main/cmpysinfo/item/totlabrmancnt"));
  396. var vtotlabrwom = eval(model.getValue("/root/main/cmpysinfo/item/totlabrwomcnt"));
  397. model.makeValue("/root/main/cmpysinfo/item/totalofficertrgtcnt" , (vofficeman + vofficewom));
  398. model.makeValue("/root/main/cmpysinfo/item/totalprdtcnt" , (vprdtman + vprdtwom));
  399. model.makeValue("/root/main/cmpysinfo/item/totalprdtcnt" , (vprdtman + vprdtwom));
  400. model.makeValue("/root/main/cmpysinfo/item/totaldsptcnt" , (vdsptman + vdsptwom));
  401. model.makeValue("/root/main/cmpysinfo/item/totaldlcnt" , (vdlman + vdlwon));
  402. model.makeValue("/root/main/cmpysinfo/item/totlabrcnt" , (vtotlabrman + vtotlabrwom));
  403. model.refresh();
  404. btn_newsave.disabled = true;
  405. btn_save.disabled = false;
  406. btn_clear.disabled = false;
  407. btn_del.disabled = false;
  408. }
  409. function fChk(){
  410. if( model.getValue(ipt_cmpyid.attribute("ref") )== "" ) {
  411. messageBox("사업장 코드를 ", "C001");
  412. model.setFocus("ipt_cmpyid");
  413. return false;
  414. }
  415. if( model.getValue(ipt_cmpynm.attribute("ref") )== "" ) {
  416. messageBox("사업장명을 ", "C001");
  417. model.setFocus("ipt_cmpynm");
  418. return false;
  419. }
  420. if( model.getValue(ipt_amount.attribute("ref") )== "" ) {
  421. messageBox("배치 후 검진금액을 ", "C001");
  422. model.setFocus("ipt_amount");
  423. return false;
  424. }
  425. if( model.getValue(ipt_appyear.attribute("ref") )== "" ) {
  426. messageBox("적용년도를 ", "C001");
  427. model.setFocus("ipt_appyear");
  428. return false;
  429. }
  430. /*
  431. if( model.getValue(ipt_insucorpbrchcd.attribute("ref") )== "" ) {
  432. messageBox("소속지사코드를 ", "C001");
  433. model.setFocus("ipt_insucorpbrchcd");
  434. return false;
  435. }
  436. if( model.getValue(ipt_civilaplflag.attribute("ref") )== "" ) {
  437. messageBox("민원실구분을 ", "C001");
  438. model.setFocus("ipt_civilaplflag");
  439. return false;
  440. }
  441. if( model.getValue(bool17.attribute("ref") )== "" ) {
  442. messageBox("사용상태를 ", "C001");
  443. model.setFocus("bool17");
  444. return false;
  445. }
  446. */
  447. /*
  448. var scdid1 = "";
  449. var scdid2 = "";
  450. scdid1 = model.getValue("/root/main/cmpysinfo/itemdetail[" + i +"]/prdtcode");
  451. var k = i + 1;
  452. for (var j = k; j < grd_prdlst.rows; j++){
  453. scdid2 = model.getValue("/root/main/cmpysinfo/itemdetail[" + j +"]/prdtcode");
  454. if (i != j){
  455. if (scdid1 = scdid2){
  456. messageBox(j + "번째에서 중복된 자료가 존재합니다", "E999", "");
  457. //model.r("/root/main/cmpysinfo/itemdetail");
  458. //model.refresh();
  459. return false;
  460. }
  461. }
  462. }
  463. */
  464. }
  465. /********************************************************************************************************************************************************************
  466. * 저장
  467. *********************************************************************************************************************************************************************/
  468. function fSaveExmp(vMode){
  469. if(vMode == "" || vMode == null) return;
  470. if(vMode == "i" || vMode == "i") {
  471. if( messageBox("사업장 정보를", "Q002") != 6 ) return ;
  472. }else if(vMode == "d") {
  473. if( messageBox("사업장 정보를", "Q001") != 6 ) return ;
  474. }
  475. var prodcode = "";
  476. for(var i=1; i<grd_prdlst.rows; i++){
  477. prodcode += grd_prdlst.valueMatrix(i, grd_prdlst.colRef("prdtcode")) + ",";
  478. }
  479. model.makeValue("/root/main/cmpysinfo/item/prdtnm" , prodcode);
  480. model.copyNode("/root/send/save" , "/root/main/cmpysinfo/item");
  481. model.makeValue("/root/send/save/mode" , vMode);
  482. var examlst1 = grd_examlst1.getUpdateData();
  483. model.makeValue("/root/send/save/saveexamlst1" , examlst1);
  484. var examlst2 = grd_examlst2.getUpdateData();
  485. model.makeValue("/root/send/save/saveexamlst2" , examlst2);
  486. var examlst3 = grd_examlst3.getUpdateData();
  487. model.makeValue("/root/send/save/saveexamlst3" , examlst3);
  488. if(submit("TXAHB03400")){
  489. if(vMode == "i"){
  490. fInit();
  491. fGetCmpysList();
  492. }else if(vMode == "u"){
  493. fGetExmpInfo();
  494. }else if(vMode == "d"){
  495. fInit();
  496. fGetCmpysList();
  497. }
  498. }
  499. }
  500. /********************************************************************************************************************************************************************
  501. * 행추가
  502. *********************************************************************************************************************************************************************/
  503. function fAddlst(grd_id){
  504. var grdObj = document.controls.item(grd_id);
  505. if(grdObj == null) return;
  506. var idx = grd_ahbmgcpy.row;
  507. if(idx < 1) return;
  508. var appyear = model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/appyear");
  509. var cmpyid = model.getValue("/root/main/ahbmgcpyinfo/item[" + idx + "]/cmpyid");
  510. var examtype = "";
  511. if(grd_id == "grd_examlst1"){
  512. examtype = "1";
  513. }else if(grd_id == "grd_examlst2"){
  514. examtype = "2";
  515. }else if(grd_id == "grd_examlst3"){
  516. examtype = "3";
  517. }
  518. var dataCVS = "";
  519. var duptCd = "";
  520. var sColSep = "▦";
  521. var sRowSep = "▩";
  522. var CVS = "healexamflag" + sColSep + "healexamdetlflag"+ sColSep + "testcd" + sColSep + "calcscorcd" + sRowSep;
  523. model.removeNodeset("/root/temp/templst/list");
  524. var desNodeSet = "/root/temp/templst";
  525. fGetPkgCd("SMAHA00100", "P", "Y", "nm", "", "G01", "", desNodeSet, "Y", "", "", "");
  526. var examNodeList = instance1.selectNodes(desNodeSet + "/list");
  527. if(examNodeList.length > 0){
  528. for(var i=0; i<examNodeList.length; i++){
  529. grdObj.addRow(false, true);
  530. var idx = grdObj.rows - 1;
  531. grdObj.valueMatrix(idx, grdObj.colRef("testcd")) = examNodeList.item(i).pkgcd.text;
  532. grdObj.valueMatrix(idx, grdObj.colRef("testnm")) = examNodeList.item(i).pkgnm.text;
  533. grdObj.valueMatrix(idx, grdObj.colRef("cmpyid")) = cmpyid;
  534. grdObj.valueMatrix(idx, grdObj.colRef("appyear")) = appyear;
  535. grdObj.valueMatrix(idx, grdObj.colRef("examtype")) = examtype;
  536. grdObj.valueMatrix(idx, grdObj.colRef("pkgflag")) = examNodeList.item(i).pkgflag.text;
  537. }
  538. }
  539. }
  540. function fDellst(grd_id){
  541. var grdObj = document.controls.item(grd_id);
  542. if(grdObj == null) return;
  543. deleteSelectedRows(grdObj, true);
  544. }
  545. ]]>
  546. </script>
  547. </xhtml:head>
  548. <xhtml:body guideline="1,1195;1,1646;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  549. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  550. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">사업장상세관리</caption>
  551. </group>
  552. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:602px; ">
  553. <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  554. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  555. <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
  556. </group>
  557. <line id="line16" class="line_1" style="x1:685px; y1:412px; x2:977px; y2:412px; "/>
  558. <group id="group3" style="left:990px; top:340px; width:202px; height:260px; "/>
  559. </group>
  560. <group id="group4" scroll="auto" style="left:0px; top:15px; width:1195px; height:740px; ">
  561. <group id="group5" style="left:0px; top:10px; width:1189px; height:35px; vertical-align:top; ">
  562. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:35px; "/>
  563. <caption id="caption44" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">적용년도 :</caption>
  564. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  565. <caption>조회</caption>
  566. <script type="javascript" ev:event="DOMActivate">
  567. <![CDATA[
  568. fInit();
  569. fGetCmpysList();
  570. ]]>
  571. </script>
  572. </button>
  573. <line id="line23" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
  574. <input id="input12" ref="/root/send/srch/srchcmpyid" class="input_search" style="left:390px; top:8px; width:250px; height:19px; ">
  575. <script type="javascript" ev:event="onkeyup">
  576. <![CDATA[
  577. inputEnterKey("btn_search", "DOMActivate");
  578. ]]>
  579. </script>
  580. </input>
  581. <caption id="caption45" class="search_name" style="left:260px; top:8px; width:125px; height:17px; ">사업장코드 :</caption>
  582. <caption id="caption46" class="search_name" style="left:655px; top:8px; width:99px; height:17px; ">사업장명 :</caption>
  583. <input id="input13" ref="/root/send/srch/srchcmpynm" class="input_search" style="left:745px; top:8px; width:165px; height:19px; ">
  584. <script type="javascript" ev:event="onkeyup">
  585. <![CDATA[
  586. inputEnterKey("btn_search", "DOMActivate");
  587. ]]>
  588. </script>
  589. </input>
  590. <select1 id="cmb_srchappyear" ref="/root/send/srch/srchappyear" appearance="minimal" style="left:107px; top:8px; width:135px; height:19px; text-align:center; vertical-align:middle; ">
  591. <choices>
  592. <itemset nodeset="/root/init/baseinfo/yearlist/S900">
  593. <label ref="cdnm"/>
  594. <value ref="cdid"/>
  595. </itemset>
  596. </choices>
  597. </select1>
  598. <caption id="caption1" class="search_name" style="left:930px; top:8px; width:90px; height:17px; ">사용상태 :</caption>
  599. <bool id="bool16" checkvalue="Y,N" ref="/root/send/srch/srchcmpystat" style="left:1018px; top:8px; width:20px; height:20px; "/>
  600. <caption id="caption20" style="left:1040px; top:8px; width:30px; height:20px; ">사용</caption>
  601. </group>
  602. <caption id="caption39" class="tit_2" style="left:271px; top:55px; width:82px; height:13px; ">사업장정보</caption>
  603. <line id="line9" class="line_1" style="x1:270px; y1:70px; x2:1190px; y2:70px; "/>
  604. <caption id="caption41" class="cell_2" style="left:270px; top:75px; width:94px; height:23px; font-family:돋움; vertical-align:middle; ">사업장코드</caption>
  605. <input id="ipt_cmpyid" ref="/root/main/cmpysinfo/item/cmpyid" class="input_essential" maxlength="11" style="left:367px; top:77px; width:73px; height:19px; "/>
  606. <input id="ipt_cmpynm" ref="/root/main/cmpysinfo/item/cmpynm" class="input_essential" visibility="hidden" style="left:440px; top:50px; width:130px; height:19px; "/>
  607. <caption id="caption49" class="cell_2" style="left:445px; top:75px; width:94px; height:23px; vertical-align:middle; ">사업장주소</caption>
  608. <output id="output12" ref="/root/main/cmpysinfo/item/officezipcd1" class="output_fix" style="left:542px; top:77px; width:40px; height:19px; "/>
  609. <output id="output13" ref="/root/main/cmpysinfo/item/officezipcd2" class="output_fix" style="left:584px; top:77px; width:40px; height:19px; "/>
  610. <button id="button13" class="icon_search" style="left:627px; top:77px; width:16px; height:16px; ">
  611. <caption/>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. zbcfOpenZipCodeList("combination", ""
  615. , "/root/main/cmpysinfo/item/officezipcd1"
  616. , "/root/main/cmpysinfo/item/officezipcd2"
  617. , "/root/main/cmpysinfo/item/officezipcdseq"
  618. , "/root/main/cmpysinfo/item/officeaddr1"
  619. , "/root/main/cmpysinfo/item/officeaddr2")
  620. model.resetInstanceNode("/root/main/cmpysinfo/item/officeaddr2");
  621. model.refresh();
  622. ]]>
  623. </script>
  624. </button>
  625. <output id="output11" ref="/root/main/cmpysinfo/item/officeaddr1" class="output_fix" style="left:645px; top:77px; width:350px; height:19px; "/>
  626. <input id="ipt_officeaddr2" ref="/root/main/cmpysinfo/item/officeaddr2" class="input" style="left:1000px; top:77px; width:185px; height:19px; text-align:left; "/>
  627. <caption id="caption31" class="cell_2" style="left:270px; top:99px; width:94px; height:23px; vertical-align:middle; ">건진분류</caption>
  628. <select1 id="cmb_gubun" ref="/root/main/cmpysinfo/item/healexamgubun" class="combo_default" appearance="minimal" style="left:367px; top:101px; width:115px; height:19px; ">
  629. <choices>
  630. <itemset nodeset="/root/init/baseinfo/healexamgubun/A0088">
  631. <label ref="cdnm"/>
  632. <value ref="cdid"/>
  633. </itemset>
  634. </choices>
  635. </select1>
  636. <caption id="caption29" class="cell_2" style="left:490px; top:99px; width:70px; height:23px; vertical-align:middle; ">진료과</caption>
  637. <select1 id="combo2" ref="/root/main/cmpysinfo/item/orddeptcd" class="combo_default" appearance="minimal" style="left:565px; top:101px; width:105px; height:19px; ">
  638. <choices>
  639. <itemset nodeset="/root/init/baseinfo/orddeptcdlst/G26">
  640. <label ref="cdnm"/>
  641. <value ref="cdid"/>
  642. </itemset>
  643. </choices>
  644. <script type="javascript" ev:event="xforms-select">
  645. <![CDATA[
  646. //선택된 진료과의 진료의사 정보 가져오기
  647. if(model.getValue("/root/main/cmpysinfo/item/orddeptcd") != ""){
  648. model.removeNodeset("/root/init/baseinfo/orddridlst");
  649. model.setValue("/root/send/orddridinfo/clscd", "G");
  650. model.setValue("/root/send/orddridinfo/etccd", "G27");
  651. model.setValue("/root/send/orddridinfo/etcitemcnts", model.getValue("/root/main/cmpysinfo/item/orddeptcd"));
  652. if(submit("TRAHA04047")){
  653. combo3.disabled = false;
  654. }
  655. }else{
  656. model.setValue("/root/main/cmpysinfo/item/orddrid", "");
  657. combo3.disabled = true;
  658. }
  659. ]]>
  660. </script>
  661. </select1>
  662. <caption id="caption34" class="cell_2" style="left:675px; top:99px; width:70px; height:23px; vertical-align:middle; ">진료의</caption>
  663. <select1 id="combo3" ref="/root/main/cmpysinfo/item/orddrid" class="combo_default" disabled="true" appearance="minimal" style="left:750px; top:101px; width:85px; height:19px; ">
  664. <choices>
  665. <itemset nodeset="/root/init/baseinfo/orddridlst/item">
  666. <label ref="etcdetlnm"/>
  667. <value ref="etcdetlcd"/>
  668. </itemset>
  669. </choices>
  670. </select1>
  671. <caption id="caption36" class="cell_2" style="left:840px; top:100px; width:70px; height:23px; vertical-align:middle; ">직역구분</caption>
  672. <select1 id="combo17" ref="/root/main/cmpysinfo/item/insutrgtflag" class="combo_default" appearance="minimal" style="left:915px; top:101px; width:80px; height:19px; ">
  673. <choices>
  674. <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
  675. <label ref="cdnm"/>
  676. <value ref="cdid"/>
  677. </itemset>
  678. </choices>
  679. </select1>
  680. <caption id="caption35" class="cell_2" style="left:999px; top:100px; width:70px; height:23px; vertical-align:middle; ">가입구분</caption>
  681. <select1 id="cmb_insuflag" ref="/root/main/cmpysinfo/item/insuflag" class="combo_default" appearance="minimal" style="left:1072px; top:101px; width:113px; height:19px; ">
  682. <choices>
  683. <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
  684. <label ref="cdnm"/>
  685. <value ref="cdid"/>
  686. </itemset>
  687. </choices>
  688. </select1>
  689. <caption id="caption37" class="tit_2" style="left:271px; top:135px; width:175px; height:13px; ">일반검진</caption>
  690. <button id="btn_searchadd" class="btn2_letter3" style="left:450px; top:130px; width:53px; height:19px; ">
  691. <caption>행추가</caption>
  692. <script type="javascript" ev:event="DOMActivate">
  693. <![CDATA[
  694. fAddlst("grd_examlst1");
  695. ]]>
  696. </script>
  697. </button>
  698. <button id="button2" class="btn2_letter3" style="left:507px; top:130px; width:53px; height:19px; ">
  699. <caption>행삭제</caption>
  700. <script type="javascript" ev:event="DOMActivate">
  701. <![CDATA[
  702. fDellst("grd_examlst1");
  703. ]]>
  704. </script>
  705. </button>
  706. <datagrid id="grd_examlst1" nodeset="/root/main/cmpysinfo/examlst1/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:268px; top:150px; width:292px; height:135px; ">
  707. <col ref="testcd"/>
  708. <col ref="testnm"/>
  709. <col ref="cmpyid" visibility="hidden"/>
  710. <col ref="appyear" visibility="hidden"/>
  711. <col ref="examtype" visibility="hidden"/>
  712. <col ref="pkgflag" visibility="hidden"/>
  713. </datagrid>
  714. <button id="button3" class="btn2_letter3" style="left:762px; top:130px; width:53px; height:19px; ">
  715. <caption>행추가</caption>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. fAddlst("grd_examlst2");
  719. ]]>
  720. </script>
  721. </button>
  722. <button id="button4" class="btn2_letter3" style="left:819px; top:130px; width:53px; height:19px; ">
  723. <caption>행삭제</caption>
  724. <script type="javascript" ev:event="DOMActivate">
  725. <![CDATA[
  726. fDellst("grd_examlst2");
  727. ]]>
  728. </script>
  729. </button>
  730. <caption id="caption38" class="tit_2" style="left:582px; top:135px; width:175px; height:13px; ">생애검진 - 간염 대상</caption>
  731. <datagrid id="grd_examlst2" nodeset="/root/main/cmpysinfo/examlst2/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:580px; top:150px; width:292px; height:135px; ">
  732. <col ref="testcd"/>
  733. <col ref="testnm"/>
  734. <col ref="cmpyid" visibility="hidden"/>
  735. <col ref="appyear" visibility="hidden"/>
  736. <col ref="examtype" visibility="hidden"/>
  737. <col ref="pkgflag" visibility="hidden"/>
  738. </datagrid>
  739. <button id="button5" class="btn2_letter3" style="left:1075px; top:130px; width:53px; height:19px; ">
  740. <caption>행추가</caption>
  741. <script type="javascript" ev:event="DOMActivate">
  742. <![CDATA[
  743. fAddlst("grd_examlst3");
  744. ]]>
  745. </script>
  746. </button>
  747. <button id="button6" class="btn2_letter3" style="left:1132px; top:130px; width:53px; height:19px; ">
  748. <caption>행삭제</caption>
  749. <script type="javascript" ev:event="DOMActivate">
  750. <![CDATA[
  751. fDellst("grd_examlst3");
  752. ]]>
  753. </script>
  754. </button>
  755. <caption id="caption43" class="tit_2" style="left:895px; top:135px; width:175px; height:13px; ">생애검진 - 간염 비대상</caption>
  756. <datagrid id="grd_examlst3" nodeset="/root/main/cmpysinfo/examlst3/item" caption="코드^명칭^패키지구분^수가코드^건진구분^건진상세구분" colsep="^" colwidth="80, 175, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:893px; top:150px; width:292px; height:135px; ">
  757. <col ref="testcd"/>
  758. <col ref="testnm"/>
  759. <col ref="cmpyid" visibility="hidden"/>
  760. <col ref="appyear" visibility="hidden"/>
  761. <col ref="examtype" visibility="hidden"/>
  762. <col ref="pkgflag" visibility="hidden"/>
  763. </datagrid>
  764. <caption id="caption42" class="tit_2" style="left:5px; top:55px; width:90px; height:14px; ">사업장</caption>
  765. <line id="line22" class="line_1" style="x1:0px; y1:70px; x2:265px; y2:70px; "/>
  766. <datagrid id="grd_ahbmgcpy" nodeset="/root/main/ahbmgcpyinfo/item" caption="사업장코드^사업장명^appyear" colsep="^" colwidth="80, 224, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:265px; height:655px; ">
  767. <col ref="cmpyid" type="output"/>
  768. <col ref="cmpynm" type="output"/>
  769. <col ref="appyear" visibility="hidden"/>
  770. <script type="javascript" ev:event="ondblclick">
  771. <![CDATA[
  772. fGetExmpInfo();
  773. //2015/07/29 우편번호 관련 프로그램 수정
  774. var cnt = getNodesetCount("/root/init/baseinfo/S920list/S920[cdid='Y']");
  775. if(cnt>0){
  776. fNewZipCdCheck(model.getValue("/root/main/cmpysinfo/item/officezipcd1"), model.getValue("/root/main/cmpysinfo/item/officezipcd2"));
  777. }
  778. //2015/07/29 우편번호 관련 프로그램 수정
  779. ]]>
  780. </script>
  781. <script type="javascript" ev:event="onaftersort">
  782. <![CDATA[
  783. grd_ahbmgcpy.gridToInstance();
  784. ]]>
  785. </script>
  786. </datagrid>
  787. <caption id="caption40" class="cell_1" style="left:270px; top:289px; width:94px; height:23px; vertical-align:middle; ">대표자성명</caption>
  788. <caption id="caption47" class="cell_1" style="left:270px; top:337px; width:94px; height:23px; vertical-align:middle; ">조합기호</caption>
  789. <caption id="caption48" class="cell_1" style="left:270px; top:385px; width:94px; height:23px; vertical-align:middle; ">전화번호</caption>
  790. <caption id="caption50" class="cell_1" style="left:270px; top:409px; width:94px; height:23px; vertical-align:middle; ">발송주소</caption>
  791. <output id="output14" ref="/root/main/cmpysinfo/item/balzipcd1" class="output_fix" style="left:367px; top:411px; width:48px; height:19px; "/>
  792. <caption id="caption3" style="left:417px; top:411px; width:13px; height:19px; text-align:center; ">-</caption>
  793. <output id="output15" ref="/root/main/cmpysinfo/item/balzipcd2" class="output_fix" style="left:434px; top:411px; width:48px; height:19px; "/>
  794. <button id="button14" class="icon_search" style="left:487px; top:411px; width:16px; height:16px; ">
  795. <caption/>
  796. <script type="javascript" ev:event="DOMActivate">
  797. <![CDATA[
  798. zbcfOpenZipCodeList("combination", ""
  799. , "/root/main/cmpysinfo/item/balzipcd1"
  800. , "/root/main/cmpysinfo/item/balzipcd2"
  801. , "/root/main/cmpysinfo/item/baladdr1"
  802. , "/root/main/cmpysinfo/item/baladdr2");
  803. model.resetInstanceNode("/root/main/cmpysinfo/item/baladdr2");
  804. model.refresh();
  805. ]]>
  806. </script>
  807. </button>
  808. <output id="output10" ref="/root/main/cmpysinfo/item/baladdr1" class="output_fix" style="left:510px; top:411px; width:269px; height:19px; "/>
  809. <input id="ipt_baladdr2" ref="/root/main/cmpysinfo/item/baladdr2" class="input" style="left:785px; top:411px; width:295px; height:19px; text-align:left; "/>
  810. <caption id="caption51" class="cell_1" style="left:270px; top:433px; width:94px; height:23px; vertical-align:middle; ">업종코드</caption>
  811. <input id="ipt_telno" ref="/root/main/cmpysinfo/item/telno" class="input" style="left:367px; top:386px; width:84px; height:19px; ">
  812. <script type="javascript" ev:event="onkeyup">
  813. <![CDATA[
  814. if( event.keyCode == 13) {
  815. model.setFocus("ipt_fax");
  816. }
  817. ]]>
  818. </script>
  819. </input>
  820. <button id="button9" class="btn2_letter9" style="left:1072px; top:50px; width:119px; height:19px; ">
  821. <caption>사업장관리번호생성</caption>
  822. <script type="javascript" ev:event="onclick">
  823. <![CDATA[
  824. if(submit("TRAHA03402")){
  825. model.makeValue("/root/main/cmpysinfo/item/cmpyid", model.getValue("/root/temp/temp/cmpyid/cmpyid"));
  826. }
  827. model.refresh();
  828. ]]>
  829. </script>
  830. </button>
  831. <caption id="caption52" class="cell_1" style="left:763px; top:385px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">E_Mail</caption>
  832. <input id="ipt_email" ref="/root/main/cmpysinfo/item/email" class="input" style="left:845px; top:385px; width:235px; height:19px; "/>
  833. <select id="checkbox17" ref="/root/main/cmpysinfo/item/changedate" overflow="visible" appearance="full" style="left:604px; top:290px; width:88px; height:20px; border-style:none; ">
  834. <choices>
  835. <item>
  836. <label>검진일자변경</label>
  837. <value>Y</value>
  838. </item>
  839. </choices>
  840. </select>
  841. <input id="ipt_prsnchrg" ref="/root/main/cmpysinfo/item/prsnchrg" class="input" style="left:782px; top:290px; width:78px; height:19px; "/>
  842. <caption id="caption53" class="cell_1" style="left:700px; top:289px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">담당자</caption>
  843. <input id="ipt_officeno" ref="/root/main/cmpysinfo/item/officeno" class="input" style="left:367px; top:314px; width:233px; height:19px; "/>
  844. <caption id="caption54" class="cell_1" style="left:270px; top:313px; width:94px; height:23px; vertical-align:middle; ">사업장개시번호</caption>
  845. <input id="ipt_cmpyno" ref="/root/main/cmpysinfo/item/cmpyno" class="input" style="left:963px; top:314px; width:117px; height:19px; "/>
  846. <caption id="caption55" class="cell_1" style="left:866px; top:313px; width:94px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
  847. <caption id="caption56" class="cell_1" style="left:700px; top:313px; width:79px; height:23px; vertical-align:middle; ">사업장순번</caption>
  848. <input id="ipt_cmpyseq" ref="/root/main/cmpysinfo/item/cmpyseq" class="input" style="left:782px; top:314px; width:78px; height:19px; "/>
  849. <button id="button10" class="icon_search" style="left:424px; top:339px; width:16px; height:16px; ">
  850. <caption/>
  851. <script type="javascript" ev:event="DOMActivate">
  852. <![CDATA[
  853. fGetComnCd("SMAHB00500", "02" , "cd", model.getValue("/root/main/cmpysinfo/item/insucd"), "/root/main/cmpysinfo/item/insucd","/root/main/cmpysinfo/item/insunm");
  854. output7.refresh();
  855. output4.refresh();
  856. ]]>
  857. </script>
  858. </button>
  859. <button id="button11" class="icon_search" style="left:424px; top:363px; width:16px; height:16px; ">
  860. <caption/>
  861. <script type="javascript" ev:event="DOMActivate">
  862. <![CDATA[
  863. fGetComnCd("SMAHB00500", "06" , "cd", model.getValue("/root/main/cmpysinfo/item/workoffice"), "/root/main/cmpysinfo/item/workoffice","/root/main/cmpysinfo/item/workofficenm");
  864. output8.refresh();
  865. output5.refresh();
  866. ]]>
  867. </script>
  868. </button>
  869. <input id="input1" ref="/root/main/cmpysinfo/item/cmpysign" class="input" style="left:782px; top:338px; width:298px; height:19px; "/>
  870. <caption id="caption57" class="cell_1" style="left:700px; top:337px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">사업장기호</caption>
  871. <caption id="caption58" class="cell_1" style="left:700px; top:361px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">검진의사</caption>
  872. <caption id="caption59" class="cell_1" style="left:460px; top:385px; width:35px; height:23px; vertical-align:middle; ">Fax</caption>
  873. <input id="ipt_fax" ref="/root/main/cmpysinfo/item/fax" class="input" style="left:498px; top:386px; width:84px; height:19px; "/>
  874. <caption id="caption60" class="cell_1" style="left:590px; top:385px; width:79px; height:23px; vertical-align:middle; ">휴대폰번호</caption>
  875. <input id="ipt_handphon" ref="/root/main/cmpysinfo/item/handphon" class="input" style="left:672px; top:386px; width:84px; height:19px; "/>
  876. <caption id="caption61" class="cell_1" style="left:270px; top:361px; width:94px; height:23px; vertical-align:middle; ">노동사무소</caption>
  877. <button id="button15" class="icon_search" style="left:424px; top:435px; width:16px; height:16px; ">
  878. <caption/>
  879. <script type="javascript" ev:event="DOMActivate">
  880. <![CDATA[
  881. fGetCommonCode("N","G109",model.getValue("/root/main/cmpysinfo/item/biztype"),"","/root/main/cmpysinfo/item/biztype","/root/main/cmpysinfo/item/biztypenm");
  882. output9.refresh();
  883. output6.refresh();
  884. ]]>
  885. </script>
  886. </button>
  887. <caption id="caption62" class="cell_1" style="left:700px; top:433px; width:39px; height:23px; font-family:돋움; vertical-align:middle; ">업태</caption>
  888. <input id="ipt_uptai" ref="/root/main/cmpysinfo/item/uptai" class="input" style="left:742px; top:435px; width:110px; height:19px; "/>
  889. <input id="ipt_jongmog" ref="/root/main/cmpysinfo/item/jongmog" class="input" style="left:898px; top:435px; width:182px; height:19px; "/>
  890. <caption id="caption63" class="cell_1" style="left:858px; top:433px; width:39px; height:23px; font-family:돋움; vertical-align:middle; ">종목</caption>
  891. <caption id="caption64" class="tit_2" style="left:271px; top:464px; width:149px; height:13px; ">특정암검진 검진의사</caption>
  892. <line id="line6" class="line_1" style="x1:270px; y1:480px; x2:1190px; y2:480px; "/>
  893. <caption id="caption65" class="cell_1" style="left:270px; top:484px; width:39px; height:23px; vertical-align:middle; ">위암</caption>
  894. <select1 id="combo7" ref="/root/main/cmpysinfo/item/cancer1" appearance="minimal" style="left:312px; top:486px; width:90px; height:19px; ">
  895. <choices>
  896. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  897. <label ref="drnm"/>
  898. <value ref="drid"/>
  899. </itemset>
  900. </choices>
  901. </select1>
  902. <select1 id="combo8" ref="/root/main/cmpysinfo/item/cancer2" appearance="minimal" style="left:458px; top:486px; width:90px; height:19px; ">
  903. <choices>
  904. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  905. <label ref="drnm"/>
  906. <value ref="drid"/>
  907. </itemset>
  908. </choices>
  909. </select1>
  910. <caption id="caption66" class="cell_1" style="left:410px; top:484px; width:44px; height:23px; vertical-align:middle; ">대장암</caption>
  911. <caption id="caption67" class="cell_1" style="left:556px; top:484px; width:39px; height:23px; vertical-align:middle; ">간암</caption>
  912. <select1 id="combo9" ref="/root/main/cmpysinfo/item/cancer3" appearance="minimal" style="left:598px; top:486px; width:90px; height:19px; ">
  913. <choices>
  914. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  915. <label ref="drnm"/>
  916. <value ref="drid"/>
  917. </itemset>
  918. </choices>
  919. </select1>
  920. <caption id="caption68" class="cell_1" style="left:696px; top:484px; width:44px; height:23px; vertical-align:middle; ">유방암</caption>
  921. <select1 id="combo10" ref="/root/main/cmpysinfo/item/cancer4" appearance="minimal" style="left:743px; top:486px; width:90px; height:19px; ">
  922. <choices>
  923. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  924. <label ref="drnm"/>
  925. <value ref="drid"/>
  926. </itemset>
  927. </choices>
  928. </select1>
  929. <caption id="caption69" class="cell_1" style="left:841px; top:484px; width:67px; height:23px; vertical-align:middle; ">자궁경부암</caption>
  930. <select1 id="combo11" ref="/root/main/cmpysinfo/item/cancer5" appearance="minimal" style="left:912px; top:486px; width:90px; height:19px; ">
  931. <choices>
  932. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  933. <label ref="drnm"/>
  934. <value ref="drid"/>
  935. </itemset>
  936. </choices>
  937. </select1>
  938. <line id="line33" class="line_1" style="x1:270px; y1:582px; x2:562px; y2:582px; "/>
  939. <group id="group6" style="left:260px; top:560px; width:305px; height:175px; ">
  940. <datagrid id="grd_prdlst" nodeset="/root/main/cmpysinfo/itemdetail" visibility="visible" caption="코드^생산품목명^caption4" colsep="^" colwidth="70, 170" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:10px; top:27px; width:291px; height:143px; ">
  941. <col ref="prdtcode" type="output"/>
  942. <col ref="prdtnm" type="output"/>
  943. <script type="javascript" ev:event="onaftersort">
  944. <![CDATA[
  945. grd_prdlst.gridToInstance();
  946. ]]>
  947. </script>
  948. </datagrid>
  949. </group>
  950. <caption id="caption70" class="tit_2" style="left:271px; top:567px; width:149px; height:13px; ">생산품목</caption>
  951. <group id="group7" style="left:565px; top:560px; width:305px; height:175px; "/>
  952. <caption id="caption71" class="tit_2" style="left:575px; top:567px; width:149px; height:13px; ">근로자현황</caption>
  953. <line id="line34" class="line_1" style="x1:575px; y1:582px; x2:867px; y2:582px; "/>
  954. <group id="group8" style="left:883px; top:560px; width:312px; height:175px; ">
  955. <select1 id="radio3" ref="/root/main/cmpysinfo/item/cmpy" appearance="full" cols="2" overflow="visible" style="left:202px; top:45px; width:88px; height:20px; border-style:none; ">
  956. <choices>
  957. <item>
  958. <label>회사</label>
  959. <value>Y</value>
  960. </item>
  961. <item>
  962. <label>개인</label>
  963. <value>N</value>
  964. </item>
  965. </choices>
  966. </select1>
  967. </group>
  968. <caption id="caption72" class="tit_2" style="left:885px; top:567px; width:149px; height:13px; ">검진종목</caption>
  969. <line id="line35" class="line_1" style="x1:883px; y1:582px; x2:1190px; y2:582px; "/>
  970. <button id="button17" class="btn2_letter8" style="left:454px; top:562px; width:108px; height:19px; ">
  971. <caption>생산품목등록(M)</caption>
  972. <script type="javascript" ev:event="DOMActivate">
  973. <![CDATA[
  974. model.removeNodeset("/root/temp/prod/item");
  975. model.makeNode("/root/temp/prod/item");
  976. fGetCommonCode("Y","G106","","/root/temp/prod/item","","");
  977. //조회창에서 받아온값
  978. var nodeList = instance1.selectNodes("/root/temp/prod/item");
  979. var check = true;
  980. //받아온값을 받아온수만큼 돌린다
  981. for(var i=1; i <= nodeList.length; i++) {
  982. var idx = grd_prdlst.rows - 1;
  983. check = true;
  984. //그리드에 같은 값이 있는지 확인
  985. for(var j=1;j<=grd_prdlst.rows; j++) {
  986. if ( model.getValue("/root/temp/prod/item[" + i + "]/cdid") == grd_prdlst.valueMatrix(j , grd_prdlst.colRef("prdtcode"))) {
  987. messageBox(j + "번째에서 중복된 자료가 존재합니다", "E999", "");
  988. check = false;
  989. break;
  990. }
  991. }
  992. // 값은 값이 없으면 insert
  993. if (check == true) {
  994. grd_prdlst.addRow(false);
  995. grd_prdlst.valueMatrix(idx+1 , grd_prdlst.colRef("prdtcode")) = model.getValue("/root/temp/prod/item[" + i + "]/cdid");
  996. grd_prdlst.valueMatrix(idx+1 , grd_prdlst.colRef("prdtnm")) = model.getValue("/root/temp/prod/item[" + i + "]/cdnm");
  997. }
  998. }
  999. ]]>
  1000. </script>
  1001. </button>
  1002. <input id="ipt_amount" ref="/root/main/cmpysinfo/item/amount" class="input" format="#,###" style="left:1087px; top:675px; width:93px; height:19px; text-align:right; "/>
  1003. <caption id="caption73" class="tit_2" style="left:271px; top:517px; width:149px; height:13px; ">특수검진 유해인자</caption>
  1004. <line id="line7" class="line_1" style="x1:270px; y1:532px; x2:1190px; y2:532px; "/>
  1005. <caption id="caption75" class="cell_1" style="left:866px; top:289px; width:94px; height:23px; text-align:center; vertical-align:middle; ">적용년도</caption>
  1006. <caption id="caption2" class="cell_1" style="left:880px; top:360px; width:59px; height:23px; vertical-align:middle; ">사용상태</caption>
  1007. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/noise" style="left:268px; top:536px; width:20px; height:20px; "/>
  1008. <bool id="bool2" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/dust" style="left:330px; top:536px; width:20px; height:20px; "/>
  1009. <bool id="bool3" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/heavymetal" style="left:390px; top:536px; width:20px; height:20px; "/>
  1010. <bool id="bool4" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/hrmfllight" style="left:460px; top:536px; width:20px; height:20px; "/>
  1011. <bool id="bool5" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/ugyj" style="left:545px; top:536px; width:20px; height:20px; "/>
  1012. <bool id="bool6" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/spcchmst" style="left:630px; top:536px; width:20px; height:20px; "/>
  1013. <caption id="caption4" style="left:288px; top:537px; width:35px; height:20px; ">소음</caption>
  1014. <caption id="caption5" style="left:350px; top:537px; width:35px; height:20px; ">분진</caption>
  1015. <caption id="caption6" style="left:410px; top:537px; width:43px; height:20px; ">중금속</caption>
  1016. <caption id="caption7" style="left:480px; top:537px; width:55px; height:20px; ">유해광선</caption>
  1017. <caption id="caption8" style="left:565px; top:537px; width:55px; height:20px; ">유기용제</caption>
  1018. <caption id="caption9" style="left:650px; top:537px; width:62px; height:20px; ">특정화학물</caption>
  1019. <bool id="bool7" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical1" style="left:883px; top:585px; width:20px; height:20px; "/>
  1020. <caption id="caption10" style="left:903px; top:586px; width:55px; height:20px; ">일반검진</caption>
  1021. <caption id="caption11" style="left:903px; top:603px; width:55px; height:20px; ">종합검진</caption>
  1022. <bool id="bool8" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical2" style="left:883px; top:602px; width:20px; height:20px; "/>
  1023. <caption id="caption12" style="left:903px; top:619px; width:55px; height:20px; ">채용검진</caption>
  1024. <bool id="bool9" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical3" style="left:883px; top:618px; width:20px; height:20px; "/>
  1025. <caption id="caption13" style="left:903px; top:637px; width:55px; height:20px; ">특수검진</caption>
  1026. <bool id="bool10" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical4" style="left:883px; top:636px; width:20px; height:20px; "/>
  1027. <bool id="bool11" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical5" style="left:883px; top:653px; width:20px; height:20px; "/>
  1028. <caption id="caption14" style="left:903px; top:654px; width:62px; height:20px; ">배치전검진</caption>
  1029. <caption id="caption15" style="left:903px; top:671px; width:62px; height:20px; ">배치후검진</caption>
  1030. <bool id="bool12" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical6" style="left:883px; top:670px; width:20px; height:20px; "/>
  1031. <bool id="bool13" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/medical7" style="left:883px; top:687px; width:20px; height:20px; "/>
  1032. <caption id="caption16" style="left:903px; top:688px; width:55px; height:20px; ">수시검진</caption>
  1033. <caption id="caption17" style="left:903px; top:706px; width:78px; height:20px; ">검진지급대상</caption>
  1034. <bool id="bool14" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/jtarget" style="left:883px; top:705px; width:20px; height:20px; "/>
  1035. <bool id="bool15" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/chtarget" style="left:1087px; top:705px; width:20px; height:20px; "/>
  1036. <caption id="caption18" style="left:1107px; top:706px; width:78px; height:20px; ">측정지급대상</caption>
  1037. <bool id="bool17" checkvalue="Y,N" ref="/root/main/cmpysinfo/item/cmpystat" style="left:940px; top:361px; width:20px; height:20px; "/>
  1038. <caption id="caption21" style="left:959px; top:362px; width:30px; height:20px; ">사용</caption>
  1039. <caption id="caption22" class="cell_1" style="left:575px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">구 분</caption>
  1040. <caption id="caption23" class="cell_1" style="left:575px; top:613px; width:71px; height:23px; text-align:center; vertical-align:middle; ">사무직</caption>
  1041. <caption id="caption24" class="cell_1" style="left:575px; top:637px; width:71px; height:23px; text-align:center; vertical-align:middle; ">생산직</caption>
  1042. <caption id="caption25" class="cell_1" style="left:575px; top:661px; width:71px; height:23px; text-align:center; vertical-align:middle; ">파견직</caption>
  1043. <caption id="caption26" class="cell_1" style="left:575px; top:685px; width:71px; height:23px; text-align:center; vertical-align:middle; ">일용직</caption>
  1044. <caption id="caption27" class="cell_1" style="left:575px; top:709px; width:71px; height:23px; text-align:center; vertical-align:middle; ">총 계</caption>
  1045. <line id="line1" class="line_2" style="x1:575px; y1:611px; x2:866px; y2:611px; "/>
  1046. <line id="line2" class="line_2" style="x1:575px; y1:635px; x2:866px; y2:635px; "/>
  1047. <line id="line3" class="line_2" style="x1:575px; y1:659px; x2:866px; y2:659px; "/>
  1048. <line id="line4" class="line_2" style="x1:575px; y1:683px; x2:866px; y2:683px; "/>
  1049. <line id="line5" class="line_2" style="x1:575px; y1:707px; x2:866px; y2:707px; "/>
  1050. <caption id="caption28" class="cell_1" style="left:723px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">여 자</caption>
  1051. <output id="output2" ref="/root/main/cmpysinfo/item/totalprdtcnt" class="output_fix" style="left:797px; top:638px; width:70px; height:19px; text-align:right; padding-right:5; "/>
  1052. <output id="output3" ref="/root/main/cmpysinfo/item/totaldsptcnt" class="output_fix" style="left:797px; top:662px; width:70px; height:19px; text-align:right; padding-right:5; "/>
  1053. <output id="output4" ref="/root/main/cmpysinfo/item/insunm" class="output_fix" style="left:445px; top:338px; width:249px; height:19px; "/>
  1054. <output id="output5" ref="/root/main/cmpysinfo/item/workofficenm" class="output_fix" style="left:445px; top:362px; width:249px; height:19px; "/>
  1055. <output id="output6" ref="/root/main/cmpysinfo/item/biztypenm" class="output_fix" style="left:445px; top:435px; width:249px; height:19px; "/>
  1056. <output id="output7" ref="/root/main/cmpysinfo/item/insucd" class="output_fix" style="left:367px; top:338px; width:53px; height:19px; "/>
  1057. <output id="output8" ref="/root/main/cmpysinfo/item/workoffice" class="output_fix" style="left:367px; top:362px; width:53px; height:19px; "/>
  1058. <output id="output9" ref="/root/main/cmpysinfo/item/biztype" class="output_fix" style="left:367px; top:435px; width:53px; height:19px; "/>
  1059. <select1 id="combo1" ref="/root/main/cmpysinfo/item/healthdr" appearance="minimal" style="left:782px; top:362px; width:90px; height:19px; ">
  1060. <choices>
  1061. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1062. <label ref="drnm"/>
  1063. <value ref="drid"/>
  1064. </itemset>
  1065. </choices>
  1066. </select1>
  1067. <button id="button1" class="btn2_letter3" style="left:399px; top:562px; width:53px; height:19px; ">
  1068. <caption>행삭제</caption>
  1069. <script type="javascript" ev:event="DOMActivate">
  1070. <![CDATA[
  1071. grd_prdlst.deleteRow(grd_prdlst.row);
  1072. ]]>
  1073. </script>
  1074. </button>
  1075. <input id="ipt_appyear" ref="/root/main/cmpysinfo/item/appyear" class="input" maxlength="4" style="left:963px; top:290px; width:117px; height:19px; "/>
  1076. <caption id="caption32" class="cell_1" style="left:649px; top:589px; width:71px; height:23px; text-align:center; vertical-align:middle; ">남 자</caption>
  1077. <caption id="caption33" class="cell_1" style="left:797px; top:589px; width:70px; height:23px; text-align:center; vertical-align:middle; ">총 계</caption>
  1078. <output id="output16" ref="/root/main/cmpysinfo/item/totalofficertrgtcnt" class="output_fix" style="left:797px; top:615px; width:70px; height:19px; text-align:right; padding-right:5; "/>
  1079. <output id="output17" ref="/root/main/cmpysinfo/item/totaldlcnt" class="output_fix" style="left:797px; top:686px; width:70px; height:19px; text-align:right; padding-right:5; "/>
  1080. <output id="output18" ref="/root/main/cmpysinfo/item/totlabrcnt" class="output_fix" style="left:797px; top:709px; width:70px; height:19px; text-align:right; padding-right:5; "/>
  1081. <output id="output19" ref="/root/main/cmpysinfo/item/totlabrwomcnt" class="output_fix" style="left:723px; top:710px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1082. <output id="output20" ref="/root/main/cmpysinfo/item/totlabrmancnt" class="output_fix" style="left:649px; top:710px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1083. <input id="ipt_officertrgtmancnt" ref="/root/main/cmpysinfo/item/officertrgtmancnt" class="input" style="left:649px; top:615px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1084. <input id="ipt_officertrgtwomcnt" ref="/root/main/cmpysinfo/item/officertrgtwomcnt" class="input" style="left:723px; top:615px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1085. <input id="ipt_prdtmancnt" ref="/root/main/cmpysinfo/item/prdtmancnt" class="input" style="left:649px; top:638px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1086. <input id="ipt_dsptmancnt" ref="/root/main/cmpysinfo/item/dsptmancnt" class="input" style="left:649px; top:662px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1087. <input id="ipt_dlmancnt" ref="/root/main/cmpysinfo/item/dlmancnt" class="input" style="left:649px; top:686px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1088. <input id="ipt_prdtwomcnt" ref="/root/main/cmpysinfo/item/prdtwomcnt" class="input" style="left:723px; top:638px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1089. <input id="ipt_dsptwomcnt" ref="/root/main/cmpysinfo/item/dsptwomcnt" class="input" style="left:723px; top:662px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1090. <input id="ipt_dlwoncnt" ref="/root/main/cmpysinfo/item/dlwoncnt" class="input" style="left:723px; top:686px; width:71px; height:19px; text-align:right; padding-right:5; "/>
  1091. <input id="ipt_prsdnm" ref="/root/main/cmpysinfo/item/prsdnm" class="input" style="left:367px; top:290px; width:233px; height:19px; "/>
  1092. <input id="ipt_insucorpbrchcd" ref="/root/main/cmpysinfo/item/insucorpbrchcd" class="input" visibility="hidden" style="left:1085px; top:385px; width:15px; height:19px; "/>
  1093. <input id="ipt_civilaplflag" ref="/root/main/cmpysinfo/item/civilaplflag" class="input" visibility="hidden" style="left:1105px; top:385px; width:15px; height:19px; "/>
  1094. <input id="input3" ref="/root/main/cmpysinfo/item/prdtcode" class="input" visibility="hidden" maxlength="4" style="left:1085px; top:340px; width:15px; height:19px; "/>
  1095. <input id="input4" ref="/root/main/cmpysinfo/item/prdtnm" class="input" visibility="hidden" maxlength="4" style="left:1105px; top:340px; width:15px; height:19px; "/>
  1096. <caption id="caption30" class="cell_1" style="left:1087px; top:651px; width:93px; height:23px; text-align:center; vertical-align:middle; ">배치후검진금액</caption>
  1097. </group>
  1098. <line id="line52" class="line_3" style="x1:3px; y1:750px; x2:1195px; y2:750px; "/>
  1099. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1100. <button id="btn_save" class="btn4_letter2" style="left:1007px; top:5px; width:56px; height:22px; ">
  1101. <caption>저장</caption>
  1102. <script type="javascript" ev:event="DOMActivate">
  1103. <![CDATA[
  1104. if(fChk() == false){
  1105. return;
  1106. }
  1107. fSaveExmp("u");
  1108. ]]>
  1109. </script>
  1110. </button>
  1111. <button id="btn_del" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
  1112. <caption>삭제</caption>
  1113. <script type="javascript" ev:event="DOMActivate">
  1114. <![CDATA[
  1115. fSaveExmp("d");
  1116. ]]>
  1117. </script>
  1118. </button>
  1119. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  1120. <caption>초기화</caption>
  1121. <script type="javascript" ev:event="DOMActivate">
  1122. <![CDATA[
  1123. fInit();
  1124. fInitSrch();
  1125. fGetCmpysList();
  1126. ]]>
  1127. </script>
  1128. </button>
  1129. <button id="btn_newsave" class="btn4_letter4" style="left:924px; top:5px; width:58px; height:22px; ">
  1130. <caption>신규생성</caption>
  1131. <script type="javascript" ev:event="DOMActivate">
  1132. <![CDATA[
  1133. model.setValue("/root/main/cmpysinfo/item/insucorpbrchcd", "-");
  1134. model.setValue("/root/main/cmpysinfo/item/civilaplflag", "N");
  1135. if(fChk() == false){
  1136. return;
  1137. }
  1138. fSaveExmp("i");
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. </group>
  1143. </xhtml:body>
  1144. </xhtml:html>